package au.edu.swin.swinvehicle.vehiclebooking;

/**
 * VehicleBookingManagerRemote interface
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-12
 */
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface VehicleBookingManagerRemote {

    public void addVehicleBooking(VehicleBookingDetailedTO to) throws VehicleBookingManagerException;

    public void editVehicleBooking(VehicleBookingDetailedTO to) throws VehicleBookingManagerException;

    public void deleteVehicleBooking(Long id) throws VehicleBookingManagerException;

    public List<VehicleBookingTO> getAllVehicleBookings() throws VehicleBookingManagerException;

    public List<VehicleBookingDetailedTO> getAllDetailedVehicleBookings() throws VehicleBookingManagerException;

    public VehicleBookingDetailedTO getVehicleBooking(Long id) throws VehicleBookingManagerException;

}